package top.huhuiyu.myforum.entity;

public class TbTopic implements java.io.Serializable {
	private static final long serialVersionUID = 6233018493658981552L;
	private java.lang.Integer tid;
	private java.lang.Integer sid;
	private java.lang.String isEnable;
	private java.lang.String tname;
	private java.lang.String description;
	private TbSubject subject;

	public TbTopic() {
	}

	public TbTopic(java.lang.Integer tid, java.lang.Integer sid, java.lang.String isEnable, java.lang.String tname,
			java.lang.String description) {
		this.tid = tid;
		this.sid = sid;
		this.isEnable = isEnable;
		this.tname = tname;
		this.description = description;
	}

	public TbSubject getSubject() {
		return subject;
	}

	public void setSubject(TbSubject subject) {
		this.subject = subject;
	}

	public void setTid(java.lang.Integer tid) {
		this.tid = tid;
	}

	public java.lang.Integer getTid() {
		return tid;
	}

	public void setSid(java.lang.Integer sid) {
		this.sid = sid;
	}

	public java.lang.Integer getSid() {
		return sid;
	}

	public void setIsEnable(java.lang.String isEnable) {
		this.isEnable = isEnable;
	}

	public java.lang.String getIsEnable() {
		return isEnable;
	}

	public void setTname(java.lang.String tname) {
		this.tname = tname;
	}

	public java.lang.String getTname() {
		return tname;
	}

	public void setDescription(java.lang.String description) {
		this.description = description;
	}

	public java.lang.String getDescription() {
		return description;
	}

	@Override
	public String toString() {
		return String.format("tid:%s,sid:%s,isEnable:%s,tname:%s,description:%s", tid, sid, isEnable, tname,
				description);
	}
}
